package com.ruoyi.framework.reptile.webmagic.jingcai.rank.dto;

import org.apache.commons.lang3.StringUtils;

/**
 * @author dzl
 * @Description TODO
 * @date 2024年07月19日 09:31:00
 */
public class QqFootBallRankDetail {

    /**
     * config
     */
    private QqFootBallRankDetailConfig config;

    /**
     * config
     */
    private QqFootBallRankDetailData data;

    public static class QqFootBallRankDetailConfig {

        private String type;

        private String id;

        private String serial;

        private String name;

        public String getSerial() {
            return StringUtils.isEmpty(serial) ? serial : serial.replace(".", "");
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setSerial(String serial) {
            this.serial = serial;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public static class QqFootBallRankDetailData {

        private String allMatchCount;

        private String winPlanLost;

        private String getAndLoss;

        public String getAllMatchCount() {
            return allMatchCount;
        }

        public void setAllMatchCount(String allMatchCount) {
            this.allMatchCount = allMatchCount;
        }

        public String getWinPlanLost() {
            return winPlanLost;
        }

        public void setWinPlanLost(String winPlanLost) {
            this.winPlanLost = winPlanLost;
        }

        public String getGetAndLoss() {
            return getAndLoss;
        }

        public void setGetAndLoss(String getAndLoss) {
            this.getAndLoss = getAndLoss;
        }
    }

    public QqFootBallRankDetailConfig getConfig() {
        return config;
    }

    public void setConfig(QqFootBallRankDetailConfig config) {
        this.config = config;
    }

    public QqFootBallRankDetailData getData() {
        return data;
    }

    public void setData(QqFootBallRankDetailData data) {
        this.data = data;
    }
}
